package com.lj;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author lj
 * @date 2020-10-01 17:33
 * @QQ 851477108
 */
//自定义异常
@ResponseStatus(HttpStatus.NOT_FOUND)
public class NotFoundException extends RuntimeException {

//    public NotFoundException() { }

    public NotFoundException(String message) {
        super(message);
    }

//    public NotFoundException(String message, Throwable cause) {
//        super(message, cause);
//    }
}
